[#escape x as (x)!?html]
<!doctype html>
<html lang="zh-CN">
<head>
    [#include 'dec_head.html']

    <script type="text/javascript" src="${ctx}/static/vendor/My97DatePicker/cn_WdatePicker.js"></script>
    [#include 'dec_headScript.html']

</head>
<body>
<!-- 顶部开始 -->
<header id="header">
    [#include 'dec_header.html']
</header>
<!-- 顶部结束 -->
<div class="container">
    <div class="search-bg">
        [@InfoPage  title=Param.title  pageSize=15;pagedList]
        <div class="search-content">
            <div class="c-666">为您找到相关结果 ${pagedList.totalElements} 篇</div>
            [#if pagedList.totalElements > 0]
            <ul class="list-unstyled s-result">
                [#list pagedList.content as info]
                <li>
                    <h3 class="sr-title"><a href="${info.url}" target="_blank" class="sa">[#noescape]${info.highlightTitle}[/#noescape]</a></h3>
                    <div class="sr-desc">[#noescape]${info.highlightText}[/#noescape]</div>
                    <div class="sr-footer">
                        <span style="color:#008000;">${info.publishDate?string('yyyy-MM-dd HH:mm')}</span> &nbsp;
                        <span>[#list info.node.hierarchy as n]<a href="${n.url}" class="a-hover" style="color:#555;">${n.name}</a>[#if n_has_next]>[/#if][/#list]</span> &nbsp;
                        <span style="color:#888;">点击：${info.bufferViews}</span> &nbsp;
                        <!--<span style="color:#888;">评论：${info.bufferComments}</span>-->
                    </div>
                </li>
                [/#list]
            </ul>
            <div class="text-center">
                [#include "page.html"/]
            </div>
            [/#if]
        </div>
        [/@InfoPage]
    </div>
</div>
<footer id="footer">
[#include 'dec_footer.html'/]
</footer>
</body>
</html>
[/#escape]

